import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import * as echarts from 'echarts'
import 'echarts-gl'
import './utils/resizeEC.js'
import axios from 'axios';
// 引用lib-flexible插件
// import "lib-flexible"
import './utils/flexible.js'
Vue.prototype.$axios = axios;
axios.defaults.baseURL = process.env.VUE_APP_BASE_API
// console.log(process.env.VUE_APP_BASE_API)
// console.log(axios.defaults.baseURL)
Vue.config.productionTip = false

Vue.prototype.$echarts = echarts;
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
